#pragma once


#include "CxType.hpp"
#include "CxSerialPort.h"
#include <string>
using std::string;

class CxControlIO
{
public:

	CxControlIO();
	~CxControlIO();

public:
	bool				InitPort(string comstr);
	bool				ReleasePort();


public:

	void				fullScreen();
	void				exitFullscreen();
	void				setLight(int  , bool  );
	void				switchTo(int  );

private:

	string				m_portname;
	CxSerialPort		*m_port;

};

